<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">

    <!--
        响应式移动设备优先设置
        viewport：视口
        width=device-width：页面的大小与设备的大小匹配
        initial-scale=1:页面初始大小与设备大小一致，无需缩放

        移动端自适应
    -->
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>登录</title>
    <!--引入CSS文件-->
    <%--<link rel="stylesheet" href="css/bootstrap.min.css"/>--%>
    <style>
        .win-login {
            position: absolute;
            width: 100%;
            height: 800px;
            bottom: 0px;
            margin: 0px;
            padding: 0px;
            display: flex;

            background-color: #dddddd;
            /*设置弹性布局*/
            flex-direction: row;
            /*设置水平方向*/
            justify-content: center;
            /*根据direction的方向设置居中*/
            align-items: center;
            /*根据direction的反方向设置居中*/
        }

        .container {
            width: 800px;
            height: 500px;
            border-radius: 5px;
            box-shadow: 0px 0px 10px 5px black;
            display: flex;
            background-color: ghostwhite;
            /*设置弹性布局*/
            flex-direction: column;
            /*列布局*/
            align-items: center;
        }

        .title {
            font-size: 60px;
            font-weight: bold;
            color: red;
            text-shadow: 5px 5px 5px #a9a9a9;
            letter-spacing: 15px;
            margin: 50px 0;
        }

        .login-input {
            position: relative;
            width: 300px;
            height: 50px;
            border: 0px solid red;
            margin: 5px 0;
        }

        .login-input > label {
            box-sizing: border-box;
            position: absolute;
            border: 0px solid red;
            width: 65px;
            height: 50px;
            line-height: 50px;
            letter-spacing: 2px;
            padding-left: 10px;
            color: #666666;
        }

        .login-input > input {
            box-sizing: border-box;
            border-radius: 5px;
            border: 1px solid #dddddd;
            padding-left: 65px;
            outline: none;
            font-size: 18px;
            width: 100%;
            height: 100%;
        }

        .login-button {
            position: relative;
            width: 300px;
            height: 50px;
            margin: 15px 0;
        }

        .login-button > button {
            border: 0;
            width: 100%;
            height: 100%;
            border-radius: 5px;
            border: 1px solid #dddddd;
            outline: none;
            background-color: white;
            letter-spacing: 15px;
            padding-left: 15px;
            color: #666666;
            font-size: 18px;
        }

        .login-button > button:hover {
            cursor: pointer;
            background-color: cornflowerblue;
            color: white;
        }

        .login-button > button:active {
            font-weight: bold;
            outline: none;
            border: 0;
            box-shadow: 0px 0px 8px 1px #7088ff;
        }

        .bottom-title{
            width:100%;
            text-align:right;
            padding-right:50px;
            font-size:20px;
            font-weight:bold;
            letter-spacing:5px;
            color:red;
            text-shadow: 5px 5px 5px #a9a9a9;
            border:0px solid red;
            margin-top:50px;

        }
        .errInfo{
            width: 100%;
            text-align: center;
            font-weight: bold;
            color: red;
        }
    </style>
</head>
<body>
<div class="container-fluid container-other">
    <div class="win-login">
        <div class="container" id="login-container" style="background: url(images/eat/background.jpg)">
            <div class="title">三味蒸火快餐店</div>
            <div class="errInfo">${requestScope.errMSG}</div>
            <form name="loginForm" method="post" action="user.do?operate=login">
                <div class="login-input">
                    <label>账号：</label>
                    <input type="text" name="user_name" />
                </div>
                <div class="login-input">
                    <label>密码：</label>
                    <input type="password" name="user_password"/>
                </div>
                <div class="login-button">
                    <button>登录</button>
                </div>
            </form>
            <div class="bottom-title">三味蒸火快餐——让您吃的放心</div>

        </div>
    </div>
</div>

</body>
<script>

</script>
</html>
